﻿namespace RayDen.MegaRay.Core
{
    public class PathVertex
    {
        public PathVertexData VertexData;

        public bool IsLight()
        {
            return VertexData.Flags == (byte) PathVertexType.Light;
        }

        public bool IsCamera()
        {
            return VertexData.Flags == (byte)PathVertexType.Camera;
        }
    }

}
